<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>海量通 -- 营销专家</title>

    <!-- Bootstrap -->
    <link href="./vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="./vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="./build/css/custom.min.css" rel="stylesheet">
    <!-- Web Goobal Style-->
    <link href="./css/goobal.css" rel="stylesheet">
    <!-- Page Index Style-->
    <link href="./css/index.css" rel="stylesheet">
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><i class="fa  fa-globe"></i> <span style="margin-left:10px;">海&nbsp;量&nbsp;通</span></a>
            </div>
            <div class="clearfix"></div>
            <br/>
            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>General</h3>
                <ul class="nav side-menu">
                  <li><a href="index.html"><i class="fa fa-home"></i> 首页 <span class="fa fa-chevron-down"></span></a>
                  </li>
                  <li><a><i class="fa  fa-th-list"></i> 广告和计划 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="planning.html">广告计划</a></li>
                      <li><a href="advert.html">广告</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa  fa-clipboard"></i> 素材库 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="materials-list.html">广告创意</a></li>
                      <li><a href="marketing-form.html">营销表单</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-area-chart"></i> 统计报表 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="reports.html">广告投放统计</a></li>
                      <li><a href="reports-form.html">表单统计</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa   fa-user"></i> 账号管理  <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="user-detail.html">账号中心</a></li>
                      <li><a href="account-flow.html">账号流水</a></li>
                    </ul>
                  </li>
                </ul>
              </div>
            </div>
            <!-- /sidebar menu -->
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
              </div>
              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <img src="images/img.jpg" alt="">海量通
                    <span class=" fa fa-angle-down"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="user-detail.html"><i class="fa  fa-cog pull-right"></i>账号中心</a></li>
                    <li><a href="modify_password.html"><i class="fa fa-pencil-square pull-right"></i>修改密码</a></li>
                    <li><a href="javascript:;" onclick="logout()"><i class="fa fa-sign-out pull-right"></i>退出</a></li>
                  </ul>
                </li>
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">

            <!-- top title -->
            <div class="x_title">
              <h2>概况总览</small></h2>
              <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>

            <!-- tongji -->
            <div class="row">
              <div class="col-md-12">
                <div class="">
                  <div class="x_content">
                    <div class="row">

                      <!-- 概况统计  现金账户-->
                      <div class="animated flipInY col-lg-4 col-md-4 col-sm-12 col-xs-12 zh-item">
                       <div class="x_panel title-normal">
                          <div class="x_title">
                            <h2 class="">现金账户</h2>
                            <div class="clearfix"></div>
                          </div>
                          <div class="x_content">

                            <!-- 左侧展示信息 -->
                            <div class="left-show-news col-md-8 col-sm-8 col-lg-8 col-xs-8">
                              <div class="iocn-cotent">
                                <i class="fa  fa-usd"></i>
                              </div>

                              <div class="text-content">
                                <strong>￥-414.78</strong>
                                <small>截止2016-08-17</small>
                              </div>
                            </div>  

                            <!-- 右侧展示功能 -->
                            <div class="right-show-action">
                              <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg"><i class="fa  fa-plus"></i>充值</button>
                            </div>

                            <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true">
                              <div class="modal-dialog">
                                <div class="modal-content">

                                  <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
                                    </button>
                                    <h4 class="modal-title" id="myModalLabel">充值信息</h4>
                                  </div>
                                  <div class="modal-body">
                                    <p>充值联系人</p>
                                    <p>111111</p>
                                  </div>
                                </div>
                              </div>
                            </div>

                          </div>
                        </div>
                      </div>

                      <!-- 概况统计  虚拟账户-->
                      <div class="animated flipInY col-lg-4 col-md-4 col-sm-12 col-xs-12 zh-item">
                       <div class="x_panel title-normal">
                          <div class="x_title">
                            <h2 class="">虚拟账户</h2>
                            <div class="clearfix"></div>
                          </div>
                          <div class="x_content">

                            <!-- 左侧展示信息 -->
                            <div class="left-show-news col-md-8 col-sm-8 col-lg-8 col-xs-8">
                              <div class="iocn-cotent xn-user">
                                <i class="fa   fa-credit-card"></i>
                              </div>

                              <div class="text-content">
                                <strong>￥-414.78</strong>
                                <small>截止2016-08-17</small>
                              </div>
                            </div>  
                          </div>
                        </div>
                      </div>

                      <!-- 概况统计  当前广告数-->
                      <div class="animated flipInY col-lg-4 col-md-4 col-sm-12 col-xs-12 zh-item">
                       <div class="x_panel title-normal">
                          <div class="x_title">
                            <h2 class="">当前广告数</h2>
                            <div class="clearfix"></div>
                          </div>
                          <div class="x_content">

                            <!-- 左侧展示信息 -->
                            <div class="left-show-news col-md-8 col-sm-8 col-lg-8 col-xs-8">
                              <div class="iocn-cotent gg-num">
                                <i class="fa   fa-navicon"></i>
                              </div>

                              <div class="text-content">
                                <strong>￥-414.78</strong>
                                <small>截止2016-08-17</small>
                              </div>
                            </div>  
                          </div>
                        </div>
                      </div>



                    <!-- chart -->
                    <div class="row">
                        <div class="col-md-12 col-sm-12 col-xs-12 zt-status">
                          <div class=" x_panel">
                            <div class="row x_title">
                              <div class="col-md-6">
                                <h3>总体情况</h3>
                              </div>
                              <div class="col-md-2 navbar-right">
                                <select class="form-control">
                                  <option>今天</option>
                                  <option>昨天</option>
                                  <option>过去7天</option>
                                  <option>过去30天</option>
                                </select>
                              </div>
                            </div>
                            <div class="x_content">
                              <div class="row">
                                <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12 chart-description">
                                  <div class="tile-stats">
                                      <p><i class="fa fa-navicon"></i>曝光量： <span>1000</span></p>
                                  </div>
                                </div>
                                <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12 chart-description">
                                  <div class="tile-stats">
                                      <p><i class="fa  fa-hand-o-up"></i>点击量： <span>2500</span></p>
                                  </div>
                                </div>
                                <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12 chart-description">
                                  <div class="tile-stats">
                                      <p><i class="fa  fa-pie-chart"></i>点击率： <span>30%</span></p>
                                  </div>
                                </div>
                                <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12 chart-description">
                                  <div class="tile-stats">
                                      <p><i class="fa  fa-money"></i>花费： <span>300</span></p>
                                  </div>
                                </div>
                              </div>

                              <div class="clearfix"></div>

                                <!-- chart -->
                                <div id="statusChart" class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="width:100%; height: 399px; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; position: relative; background-color: transparent;"></div>
                                <!-- chart -->

                            </div>
                          </div>
                        </div>
                      </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->

        <!-- footer content -->
        <footer>
          <div class="pull-right">
            海量通 - 广告投放平台 © 20150.1.0-20160727134637
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>

    <!-- jQuery -->
    <script src="./vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="./vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- Echart theme -->
    <script src="./vendors/theme.js"></script>
    <!-- Echart -->
    <script src="./vendors/echarts/dist/echarts.min.js"></script>
      <!-- bootstrap-daterangepicker -->
    <script src="./js/moment/moment.min.js"></script>
    <script src="./js/datepicker/daterangepicker.js"></script>

    <script src="./vendors/bootbox.js"></script>

    <script src="./build/js/custom.js"></script>

    <!-- Echart -->
    <script>
      $(document).ready(function() {

        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('statusChart'),theme);

        // 指定图表的配置项和数据
        var option = {
            title: {
                text: ''
            },
            tooltip: {
                trigger: 'axis'
            },
            legend: {
                data:['曝光量（次）','点击量（次）','总花费']
            },
            grid: {
              left: '2%',
              right: 0,
            },
            xAxis: {
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#E6E9ED',
                  width:2
                }
              },
              axisTick: {
                show: false
              },  

              splitLine: {
                show: false,
              },
              data: []
            },
            yAxis: {
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#E6E9ED',
                  width:2
                }
              },
              type: 'value',
              data: ['0','0.2','0.4','0.6','0.8','1']
            },
            series: [
                {
                    name:'曝光量（次）',
                    smooth: true,
                    type:'line',
                    areaStyle: {
                      normal: {}
                    },
                    data:[0.1, 0.6, 0.8, 0.4, 0.4, 0.2, 1]
                },
                {
                    name:'点击量（次）',
                    smooth: true,
                    type:'line',
                    areaStyle: {
                      normal: {}
                    },
                    data:[0.1, 0.2, 0.8, 0.8, 0.4, 0.2, 1]
                },
                {
                    name:'总花费',
                    smooth: true,
                    type:'line',
                    areaStyle: {
                      normal: {}
                    },
                    data:[0.1, 0.3, 0.8, 0.6, 0.4, 0.2, 1]
                }
            ]
        };
        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);

        window.onresize = function(){
          myChart.resize();
        };

      });


      function logout(){

        bootbox.dialog({
          title : "提示信息",
          message : "<p>退出系统 ？</p>",
          buttons : {
              "success" : {
                  "label" : "<i class='icon-ok'></i> 确认",
                  "className" : "btn-sm btn-success",
              },
              "cancel" : {
                  "label" : "<i class='icon-info'></i> 取消",
                  "className" : "btn-sm btn-danger",
                  "callback" : function() { }
              }
          }
        })
      }

    </script>
    <!-- /Echart -->
  </body>
</html>
